import { getTenantId } from '@/utils/auth';
import { get } from "@/utils/request";

enum URL {
  loginLogList = '/sys/login_log/list'
}

const getSysLoginLogList = async (data:APISYSTEMLOGINLOG.params) => get<APISYSTEMLOGINLOG.list>({ url: URL.loginLogList, params: {...data,...getTenantId()}})

export default { getSysLoginLogList };